package com.neu.his.entity.request.Department;

import lombok.Data;

/**
 * Description: neu-his
 * <p>
 * Created by 31316 on 2020/7/15 13:21
 */
@Data
public class DepartmentParams {
    String deptCode,deptName,deptCategory,deptType;
    public DepartmentParams(){
        deptCategory=null;
        deptCode=null;
        deptName=null;
        deptType=null;
    }
    public DepartmentParams(String deptCode,String deptName,String deptCategory,String deptType){
        this.deptCategory=deptCategory;
        this.deptCode=deptCode;
        this.deptName=deptName;
        this.deptType=deptType;
    }
    public void copy(DepartmentPageParams departmentPageParams){
        this.setDeptType(departmentPageParams.getDeptType());
        this.setDeptName(departmentPageParams.getDeptName());
        this.setDeptCategory(departmentPageParams.getDeptCategory());
        this.setDeptCode(departmentPageParams.getDeptCode());
    }
}
